/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.cx1.model.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 *
 * @author CX
 */
public class CXDateUtils {
    
    private static final SimpleDateFormat SDF_1 = new SimpleDateFormat("MM/dd/yyyy");
    
    public static Date parseSDF1(String strDate) {
        Date date = null;
        try {
            date = SDF_1.parse(strDate);            
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        return date;
    }
    
    public static void main(String[] argv) {
        System.out.println("CX: " + CXDateUtils.parseSDF1("07/15/2013"));
    }
    
}
